import os

from General.ConfigLoader import load_config
from General.MapLoader import MapLoader
from Simulator.SimulationEnvironment import SimulationEnvironment

if __name__ == '__main__':
    print("Current working directory:", os.getcwd())
    map_loader = MapLoader()
    config = load_config()  # 不传递参数
    map_loader.create_graph_from_files()

    simulation_env = SimulationEnvironment(map_loader)
    simulation_env.initialize_environment()
    simulation_env.simulate()
